﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using UpdateStruct.DBUtility;

namespace UpdateStruct.BLL
{
    /// <summary>
    /// 解析CFG文件
    /// </summary>
    class analysisCFG
    {
        DbHelperOleDb cfghelper = null;

        /// <summary>
        /// 获取CFG中存储的账套连接路径
        /// </summary>
        /// <returns></returns>
        public DataSet GetDBConnlist(string cfgpath)
        {

            if (cfghelper == null)
            {
                cfghelper = new DbHelperOleDb();
            }
            cfghelper.SetConnString(cfgpath, "8888");
            DataSet ds = cfghelper.Query("SELECT * FROM ");

            return null;
        }
    }
}
